Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BinaryCIF Import Implementation #353

Merged
merged 18 commits into from
Jun 5, 2024
Merged

BinaryCIF Import Implementation #353

merged 18 commits into from
Jun 5, 2024

Conversation

JarrettSJohnson
Copy link
Member

@JarrettSJohnson JarrettSJohnson commented Mar 31, 2024

Announced via RSCB news.
"
From July 2024 the PDB file archive will not be offered in the compressed MMTF format anymore. Users are strongly encouraged to switch to the BinaryCIF format, which has been available since 2020. Details on how to access BinaryCIF (BCIF) data files for the entire PDB archive are available here.
"

Implementation of Reading BinaryCIF #329

Able to fetch various models from the pdb via fetch XXX, type=bcif

Tests:

@JarrettSJohnson JarrettSJohnson self-assigned this Mar 31, 2024
@JarrettSJohnson JarrettSJohnson marked this pull request as ready for review May 20, 2024 21:55
@JarrettSJohnson JarrettSJohnson changed the title BinaryCIF Import Implementation (WIP) BinaryCIF Import Implementation May 20, 2024
Copy link
Collaborator

@TstewDev TstewDev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! Mostly just updating syntax and moving things around. Only thing is potential checking that other structural information is loaded in properly (model, chain, etc.).

@test_utils.requires_version("3.0")
def test_bcif():
cmd.load(test_utils.datafile("115d.bcif.gz"))
assert cmd.count_atoms() == 407
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any other properties worth checking? Seems sufficient for just ensuring the structure is loaded in.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added tests with cif_get_array

@JarrettSJohnson JarrettSJohnson merged commit 6731589 into master Jun 5, 2024
7 of 8 checks passed
@JarrettSJohnson JarrettSJohnson deleted the BCIF branch June 13, 2024 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants